package com.telchina.hrms.demand;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

import com.telchina.nancy.common.util.DateUtil;
import com.telchina.nancy.core.dal.support.po.BasePO;

/**
 * @project: hrms
 * 
 * @description:
 * 
 * @copyright: hrms
 * 
 * @author: kelvinjava
 * 
 * @version: v1.0
 * 
 * @createdate: 2012-5-10
 *
 */
@Table(name="HR_DEMAND")
public class DemandPO extends BasePO{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Id
	@Column(name="annalid")
	private long annalid;
	@Column(name="module")
	private String module;
	@Column(name="demand")
	private String demand;
	@Column(name="updatedate")
	private Date updatedate;
	
	@SuppressWarnings("unused")
	private String updatedateStr;
	
	public long getAnnalid() {
		return annalid;
	}
	public void setAnnalid(long annalid) {
		this.annalid = annalid;
	}
	public String getModule() {
		return module;
	}
	public void setModule(String module) {
		this.module = module;
	}
	public String getDemand() {
		return demand;
	}
	public void setDemand(String demand) {
		this.demand = demand;
	}
	public Date getUpdatedate() {
		return updatedate;
	}
	public void setUpdatedate(Date updatedate) {
		this.updatedate = updatedate;
	}
	public String getUpdatedateStr() {
		return DateUtil.dateToStr(this.getUpdatedate(),"yyyy-MM-dd HH:mm:ss");
	}
	public void setUpdatedateStr(String updatedateStr) {
		this.updatedateStr = updatedateStr;
	}
}
